-
Notifications
You must be signed in to change notification settings - Fork 441
refactor: remove deprecated format field from ExcelProperty and add comprehensive tests for date formatting #610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…omprehensive tests for date formatting
fesod/src/test/java/org/apache/fesod/excel/annotation/ExcelPropertyFormatTest.java
Outdated
Show resolved
Hide resolved
fesod/src/test/java/org/apache/fesod/excel/annotation/ExcelPropertyFormatTest.java
Outdated
Show resolved
Hide resolved
…for clarity and consistency
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request removes the deprecated format field from the ExcelProperty annotation and adds comprehensive tests for date formatting functionality using the @DateTimeFormat annotation.
- Removal of deprecated
formatfield fromExcelPropertyannotation - Addition of comprehensive test coverage for date formatting scenarios
- Tests cover various date patterns including Chinese characters, multiple formats, null handling, and read/write operations
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| ExcelProperty.java | Removes deprecated format field and its import dependency |
| ExcelPropertyFormatTest.java | Adds comprehensive test suite for date formatting with various scenarios and edge cases |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
fesod/src/test/java/org/apache/fesod/excel/annotation/ExcelPropertyFormatTest.java
Outdated
Show resolved
Hide resolved
fesod/src/test/java/org/apache/fesod/excel/annotation/ExcelPropertyFormatTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
delei
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…omprehensive tests for date formatting
Purpose of the pull request
Closed: #473
What's changed?
Checklist